package com.ftar.urgent.http.model;

public class PictureJsonBean {
    private double x1;
    private double y1;
    private double x2;
    private double y2;
    private float score;
    private String name;

    public PictureJsonBean(String name) {
        this.name = name;
    }

    public PictureJsonBean(double x1, double y1, double x2, double y2, float score, String name) {
        this.x1 = x1;
        this.y1 = y1;
        this.x2 = x2;
        this.y2 = y2;
        this.score = score;
        this.name = name;
    }

    public double getX1() {
        return x1;
    }

    public void setX1(double x1) {
        this.x1 = x1;
    }

    public double getY1() {
        return y1;
    }

    public void setY1(double y1) {
        this.y1 = y1;
    }

    public double getX2() {
        return x2;
    }

    public void setX2(double x2) {
        this.x2 = x2;
    }

    public double getY2() {
        return y2;
    }

    public void setY2(double y2) {
        this.y2 = y2;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public String getType() {
        return name;
    }

    public void setType(String type) {
        this.name = type;
    }

    @Override
    public String toString() {
        return "PictureJsonBean{" +
                "x1=" + x1 +
                ", y1=" + y1 +
                ", x2=" + x2 +
                ", y2=" + y2 +
                ", score=" + score +
                ", type='" + name + '\'' +
                '}';
    }
}
